projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f529fc1
)
Fix decrypting in plstore.el on MS-Windows
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 2 Sep 2017 10:02:10 +0000
(13:02 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 2 Sep 2017 10:02:10 +0000
(13:02 +0300)
* lisp/plstore.el (plstore-open): Bind coding-system-for-read to
raw-text, instead of using insert-file-contents-literally.
(Bug#28114)
lisp/plstore.el
patch
|
blob
|
history
diff --git
a/lisp/plstore.el
b/lisp/plstore.el
index b9025433b11a2e30162dbe3a181a3ef4991142aa..26c53b3e61faa14b3b3d60107c6b7ba47d00ba4d 100644
(file)
--- a/
lisp/plstore.el
+++ b/
lisp/plstore.el
@@
-212,7
+212,8
@@
symmetric encryption will be used."
(with-current-buffer buffer
(erase-buffer)
(condition-case nil
- (insert-file-contents-literally file)
+ (let ((coding-system-for-read 'raw-text))
+ (insert-file-contents file))
(error))
(setq buffer-file-name (file-truename file))
(set-buffer-modified-p nil)